home *** CD-ROM | disk | FTP | other *** search
/ LOGIC Apps / Logic-APPLE_II_APPS.iso / mac / LOGIC Apple II 5.25" Library - ProDOS 8 / P8S007A.dsk / MEMORY.TEST.bas < prev    next >
BASIC Source File  |  2012-02-16  |  3KB  |  46 lines

  1. 100  HOME 
  2. 110  HTAB 15: PRINT "Memory Test"
  3. 140 EC$ = "     Use the built in diagnostics by         doing a CLOSED APPLE-CONTROL-RESET.     Let up on the Closed Apple last"
  4. 150 GS$ = "     Use the built in diagnostics by         doing: COMMAND-OPTION-CONTROL-RESET     Let up on the RESET key first."
  5. 190  REM 
  6. 195  VTAB 6: HTAB 10
  7. 200  PRINT "1)  //E 64K OR //E 128K"
  8. 205  PRINT : HTAB 10
  9. 210  PRINT "2)  //C 128K"
  10. 215  PRINT : HTAB 10
  11. 220  PRINT "3)  //GS 256K"
  12. 235  PRINT : HTAB 10
  13. 240  PRINT "4)  //C Extended memory"
  14. 245  PRINT : HTAB 10
  15. 250  PRINT "5)  //E Extended memory"
  16. 290  PRINT : HTAB 10: PRINT "6)  EXIT"
  17. 300  PRINT : PRINT : HTAB 10: PRINT "Enter choice: ";: GET A$: PRINT A$
  18. 310  IF A$ <"1"  OR A$ >"6"  THEN  PRINT  CHR$(7): GOTO 190
  19. 320  ON  ASC(A$) -48 GOTO 1000,1000,1000,2000,3000,5000
  20. 1000  REM  SELF TEST
  21. 1010  HOME 
  22. 1020  HTAB 15: PRINT "MEMORY TEST": PRINT : PRINT 
  23. 1030  PRINT "    To do a memory test, use the built                                            in diagnostic routines.  You can run                                            these by holding down three keys:"
  24. 1040  PRINT : PRINT "     SOLID APPLE - CONTROL - RESET                                                and lifting up on the RESET key first.                                          This will check up to 128K and"
  25. 1050  PRINT : PRINT "  many other things on the motherboard."
  26. 1060  PRINT : PRINT "  When the test is over, you will see                                             either an error message or the                                                  message:  SYSTEM OK"
  27. 1070  END 
  28. 2000  REM  //c extended memory test
  29. 2005  HOME : PRINT "       //C EXTENDED MEMORY TEST"
  30. 2007  VTAB 6
  31. 2010  PRINT "The prompt you see below is the machine language monitor prompt (*).  Next to ityou see the letters:  C40AG    Press theright arrow 5 times and then the RETURN key.  Then you will see a new display"
  32. 2020  PRINT "that will show the actural amount of    memory installed on the card and run    diagnostics on it.  For errors, consult instructions on the disk.  After 1 pass you may reboot. 
  33. 2050  VTAB 22: HTAB 2: PRINT "C40AG"
  34. 2055  VTAB 21
  35. 2060  CALL  -151
  36. 3000  REM  //E EXTENDED MEMORY TEST
  37. 3005  HOME : PRINT "       //E EXTENDED MEMORY TEST"
  38. 3007  VTAB 6
  39. 3010  PRINT "The prompt you see below is the machine language monitor prompt (*).  Type in   the following:"
  40. 3020  PRINT : PRINT "                Cn0AG": PRINT 
  41. 3030  PRINT "where n = the slot number of the Apple  Memory Expansion Card.  i.e. if your    card is in slot 5, type:  C50AG         After pressing the RETURN key, you will see a different display that will show"
  42. 3040  PRINT "the actural amount of memory installed  on the card and run diagnostics on it.  For errors, consult instructions on the disk.  After 1 pass you may reboot."
  43. 3050  VTAB 22
  44. 3060  CALL  -151
  45. 5000  REM  QUIT
  46. 5010  PRINT  CHR$(4);"-HELLO2"